package com.hisense.ovcloud.common3.webclient;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@ConfigurationProperties("web.client.base")
@Configuration("baseWebClientProperties")
@Data
public class WebClientProperties {

    private int pendingAcquireTimeout = 60;

    private int pendingAcquireMaxCount = 10000;

    private int maxConnections = 1000;

    private int maxIdleTime = 120;

    private int maxLifeTime = 8640000;
    private int evictInBackground = 120;

    private int readTimeout = 20;
    private boolean compressionEnabled = false;
    private int maxInMemorySize = 200 * 1024 * 1024;

}
